MacGhostView is an extension of ghostscript6.01. It is designed only as a Postscript viewer and it allows the user to view the pages of a postscript document in any order. This feature is available only for Postscript files that conform to Adobe's Document Structuring Conventions (DSC). The Macintosh code in MacGhostView is an extension of Mac GS Viewer. The additional drivers needed to create ghostview from ghostscript are my own creation, as well as the printer driver for non-Postscript printers.
MacGhostView is an adaptation of ghostview, a utility included with CMacTeX. CMacTeX is a complete TeX installation for the Macintosh and contains several other utilities for working with postscript files and fonts. Anyone needing more than just a postscript viewer may want to investigate CMacTeX. It can be downloaded from CTAN (anonymous ftp at ftp.tex.ac.uk) or from the CMacTeX Web Page at http://www.kiffe.com/cmactex.html.
To use MacGhostView you must download gsfonts.hqx. The folders examples, files, and fonts must be located in the same folder as MacGhostView.
MacGhostView is shareware (charityware) with a registration fee of $20. You can use the “Register MacGhostView” program to register your copy through Kagi Shareware, if paying with a credit card you can pay through www.paypal.com, or you can send your check (drawn on a US bank), money order, or cash and your e-mail address to
Thomas R. Kiffe
P. O. Box 516
College Station, TX 77841
USA
When launched for the first time, MacGhostView will attempt to create a preferences file in the Preferences Folder inside your System Folder. On some sysytems an init or virus protection software may not allow MacGhostView to create the macghostview.prefs file. If this happens on your system, just drop the macghostview.prefs file into the Preferences Folder inside your System Folder.
Default Configuration
MacGhostView is configured to display a document at 288 dpi with 256 colors. These settings require an offscreen bitmap using 7.4 MB of RAM and give you magnifications of 100%, 133%, 200%, and 400%. The amount of RAM needed for the offscreen bitmap can be greatly reduced by lowering the dpi or the number of colors in the “Display Page Geometry” item under the Options Menu. The memory for the offscreen bitmap is taken from System Memory so you should not have to change the size of MacGhostView's memory partition.
File Menu
View: Select a postscript file to view. If the file is a DSC postscript file, the pages may be viewed in any order.
Close: Close the display window.
Save As: Save the currently displayed page as a PICT file.
Page setup: Set page size for printing on a non-postscript printer. This setting should match the page size set under the “Display Page Geometry” item of the Options Menu.
Print one copy: Just print one copy of the entire document on a non-postscript printer.
Print: Call the standard Print dialog for printing on a non-postscript printer.
Print Postscript: Print selected pages on a postscript printer. You will need a utility for printing Postscript documents. DropPS or CMacTeX's printps would work. If you have the LaserWriter Driver 8.6 or later you can just drop a Postscript file on your printer's icon and the Mac OS will print the file.
Interrupt: This item allows you to cancel viewing of a non-DSC postscript file.
Run: Open a file for previewing, reporting any errors encountered while interpreting the pages. This option for opening a postscript file is the only one that can report any errors. Use it if the View command fails to display the document.
Quit: Quit MacGhostView.
Edit Menu
Copy: Place the currently displayed page as a PICT resource on the Clipboard.
View Menu
Next Page: View the next page.
Previous Page: View the previous page.
Goto Page: Select a page for viewing.
Zoom In: Increase the level of magnification by one step.
Zoom Out: Decrease the level of magnification by one step.
Zoom Back: Return to the previous level of magnification.
Console Window: Bring the console window to the front.
Display Window: Bring the display window to the front.
Redraw Display Window: Due to rounding errors, the displayed page may become distorted while scrolling and this item allows you to redraw the page.
Options Menu
Display Page Geometry: Set the page size and resolution for displayed images.
Debug: Print the full search paths of all files MacGhostView is trying to open.
Dither: Use grayscale imaging when viewing a document at low magnifications.
Ignore DSC Comments: This option may be necessary for some complex DSC files for which the page selection feature of MacGhostView may give unsatisfactory results. The postscript file will be opened for viewing the pages in strict linear order.
Page Menu
When viewing a DSC postscript file this menu will contain a list of the pages of the document. Selecting an item will display that page number.
Key Mappings
Pressing various keys while the display window is in front moves you around the page and the document as follows.
Key Action
n Go to the next page.
p Go to the previous page.
f Go to the first page.
l Go to the last page.
g Call the Goto Page Dialog Box.
h Center the page horizontally.
v Center the page vertically.
i Zoom in (increase magnification).
o Zoom out (decrease magnification).
u Scroll upward one screen.
d Scroll downward one screen.
The four arrow keys also move you around a page in small increments. The “page up” and “page down” keys work just like the u and d keys respectively. The “home” key takes you to the upper left-hand corner of a page while the “end” key takes you to the lower right-hand corner.